import Vue from 'vue'
import Router from 'vue-router'
// import Header from '@/components/Header'
import Goods from '@/components/Goods'
import Message from '@/components/Message'
import Search from '@/components/Search'
import Ybxx from '@/components/Ybxx'
import 'vant/lib/vant-css/index.css'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Goods',
      component: Goods
    },
    {
       path: '/Message',
      name: 'Message',
      component: Message
    },
    {
       path: '/Search',
      name: 'Search',
      component: Search
    },
    {
      path: '/Ybxx',
      name: 'Ybxx',
      component: Ybxx
    }
  ]
})
